KIVA (software)
![]() KIVA simulation of an experimental engine with DOHC quasi-symmetric pent-roof combustion chamber and 4 valves. | |
Developer(s) | Los Alamos National Laboratory |
---|---|
Initial release | 1985 |
Stable release | KIVA-4mpi
/ 2009 |
Operating system | Linux, Unix, Windows |
Available in | Fortran |
Type | Physics |
License | Proprietary |
Website | www |
KIVA is a family of Fortran-based computational fluid dynamics software developed by Los Alamos National Laboratory (LANL). The software predicts complex fuel and air flows as well as ignition, combustion, and pollutant-formation processes in engines. The KIVA models have been used to understand combustion chemistry processes, such as auto-ignition of fuels, and to optimize diesel engines for high efficiency and low emissions. General Motors has used KIVA in the development of direct-injection, stratified charge gasoline engines as well as the fast burn, homogeneous-charge gasoline engine.[1] Cummins reduced development time and cost by 10%–15% using KIVA to develop its high-efficiency 2007 ISB 6.7-L diesel engine that was able to meet 2010 emission standards in 2007. At the same time, the company realized a more robust design and improved fuel economy while meeting all environmental and customer constraints.[2]
History
[edit]LANL's Computational Fluid Dynamics expertise hails from the very beginning of the Manhattan Project in the 1940s. When the United States found itself in the midst of the first energy crisis in the 1970s, this core Laboratory capability transformed into KIVA, an internal combustion engine modeling tool designed to help make automotive engines more fuel-efficient and cleaner-burning. A "kiva" is actually a round Pueblo ceremonial chamber that is set underground and entered from above by means of a ladder through its roof; drawing on LANL's southwestern heritage, an analogy is made with the typical engine cylinder in which the entrance and exit of gases is achieved through valves set in the cylinder.[3]
The first public release of KIVA was made in 1985 through the National Energy Software Center (NESC) at Argonne National Laboratory, which served at the time as the official distribution hub for Department of Energy-sponsored software. Distribution of KIVA continued through the Energy Science and Technology Software Center (ESTSC) in Oak Ridge, Tennessee until 2008, when distribution of multiple versions of KIVA returned to LANL's Technology Transfer Division (TT).[4] KIVA is used by hundreds of institutions worldwide, including the Big Three U.S. auto makers,[1][5][6] Cummins,[2] Caterpillar,[7] and various federal laboratories.[1][8]
Overview
[edit]Fuel economy is heavily dependent upon engine efficiency, which in turn depends to a large degree on how fuel is burned within the cylinders of the engine. Higher in-cylinder pressures and temperatures lead to increased fuel economy, but they also create more difficulty in controlling the combustion process. Poorly controlled and incomplete combustion can cause higher levels of emissions and lower engine efficiencies.
In order to optimize combustion processes, engine designers have traditionally undertaken manual engine modifications, conducted testing, and analyzed the results. This iterative process is painstakingly slow, costly, and does not lend itself to identifying the optimal engine design specifications. In response to these problems, Los Alamos National Laboratory scientists developed KIVA, an advanced computational fluid dynamics (CFD) modeling code that accurately simulates the in-cylinder processes of engines.
KIVA, a transient, three-dimensional, multiphase, multicomponent code for the analysis of chemically reacting flows with sprays has been under development at LANL for decades. The code uses an Arbitrary Lagrangian Eulerian (ALE) methodology on a staggered grid, and discretizes space using the finite volume method. The code uses an implicit time-advancement with the exception of the advective terms that are cast in an explicit but second-order monotonicity-preserving manner. Also, the convection calculations can be subcycled in the desired regions to avoid restricting the time step due to Courant conditions.
KIVA's functionality extends from low speeds to supersonic flows for both laminar and turbulent regimes. Transport and chemical reactions for an arbitrary number of species and their chemical reactions is provided. A stochastic particle method is used to calculate evaporating liquid sprays, including the effects of droplet collisions, agglomeration, and aerodynamic breakups.
Although specifically designed for simulating internal combustion engines, the modularity of the code facilitates easy modifications for solving a variety of hydrodynamics problems involving chemical reactions. The versatility and range of features have made KIVA programs attractive to a variety of non-engine applications as well; these range from convection towers to modeling silicon dioxide condensation in high pressure oxidation chambers. Other applications have included the analysis of flows in automotive catalytic converters, power plant smokestack cleaning, pyrolytic treatment of biomass, design of fire suppression systems, Pulsed Detonation Engines (PDEs), stationary burners, aerosol dispersion, and design of heating, ventilation, and air conditioning systems. The code has found a widespread application in the automotive industry.
Versions
[edit]KIVA-3V
[edit]![](http://upload.wikimedia.org/wikipedia/commons/b/bc/Fuel_impingement_in_an_engine_cylinder_modeled_with_KIVA-3V.gif)
KIVA-3V is the most mature version of KIVA still maintained and distributed through LANL; it is an improved version of the earlier Federal Laboratory Consortium Excellence in Technology Transfer Award-winning KIVA3 (1993), extended to model vertical or canted valves in the cylinder head of a gasoline or diesel engine.[9] KIVA3, in turn, was based on the earlier KIVA2 (1989) and used the same numerical solution procedure and solved the same types of equations.[10]
KIVA-3V uses a block-structured mesh with connectivity defined through indirect addressing. The departure from a single rectangular structure in logical space allows complex geometries to be modeled with significantly greater efficiency because large regions of deactivated cells are no longer necessary. Cell-face boundary conditions permit greater flexibility and simplification in the application of boundary conditions. KIVA-3V also contains a number of significant improvements over its predecessors. New features enhanced the robustness, efficiency, and usefulness of the overall program for engine modeling. Automatic restart of the cycle with a reduced timestep in case of iteration limit or temperature overflow effectively reduced code crashes. A new option provided automatic deactivation of a port region when it is closed from the cylinder and reactivation when it communicates with the cylinder. Extensions to the particle-based liquid wall film model made the model more complete and a split injection option was also added. A new subroutine monitors the liquid and gaseous fuel phases and energy balance data and emissions are monitored and printed. In addition, new features were added to the LANL-developed grid generator, K3PREP, and the KIVA graphics post processor, K3POST.[10]
KIVA-4
[edit]KIVA-4 is maintained and distributed through LANL. While KIVA-4 maintains the full generality of KIVA-3V, it adds the capability of computing with unstructured grids. Unstructured grids can be generated more easily than structured grids for complex geometries. The unstructured grids may be composed of a variety of elements including hexahedra, prisms, pyramids, and tetrahedra. However, the numerical accuracy diminishes when the grid is not composed of hexahedra. KIVA-4 was developed to work with the many geometries accommodated within KIVA-3V, which includes 2D axisymmetric, 2D planar, 3D axisymmetric sector geometries, and full 3D geometries. KIVA-4 also features a multicomponent fuel evaporation algorithm. Many of the numerical algorithms in KIVA-3V generalize properly to unstructured meshes; however, fundamental changes were needed in the solution of the pressure equation and the fluxing of momentum. In addition, KIVA-4 loops over cell faces to compute diffusion terms.[11]
KIVA-4mpi
[edit]Recently, LANL researchers developed KIVA-4mpi, a parallel version of KIVA-4, and the most advanced version of KIVA maintained and distributed by LANL. KIVA-4mpi also solves chemically reacting, turbulent, multi-phase viscous flows, but does this on multiple computer processors with a distributed computational domain (grid). KIVA-4mpi internal combustion engine modeling capabilities are the same as that of KIVA-4, and are based on the KIVA-4 unstructured grid code. The software is well suited for modeling internal combustion engines on multiple processors using the message passing interface (MPI).[12] On August 9, 2011, LANL honored the authors of KIVA-4mpi with the Distinguished Copyright Award for demonstrating a breadth of commercial applications, potential to create economic value, and the highest level of technical excellence.[13]
KIVA-EXEC
[edit]KIVA-EXEC is a free, reduced-functionality executable-only trial version of KIVA-4. KIVA-EXEC has all the performance of Los Alamos National Laboratory's premier KIVA-4 code, but with a 45K cell limitation.[14] KIVA-EXEC is perfect for beginners who do not need or intend to modify the source code.[15]
KIVA videos
[edit]- KIVA4 slant valve[16]
- Cubit scalloped bowl[17]
- 4 Valve KIVA-4 mpi[18]
- 4 Valve FEARCE, 2018 new FEM based LANL T-3 software (David Carrington and Jiajia Waters )
Alternative software
[edit]- Advanced Simulation Library (open source: AGPL)[19]
- COMSOL Multiphysics
- CLAWPACK[20]
- Code Saturne (GPL)
- Coolfluid (LGPLv3)[21]
- deal.II[22]
- FEATool Multiphysics[23]
- FreeCFD[citation needed]
- Gerris Flow Solver[24]
- Nektar++[25]
- OpenFVM[26]
- SU2 code (LGPL)[27]
References
[edit]- ^ a b c "Modeling of Combustion Processes Improves Engine Efficiency" (PDF). Eere.energy.gov. Retrieved 2016-09-27.
- ^ a b "Vehicle Technologies Program : Advanced Combustion Engine R&D: Goals, Strategies, and Top Accomplishments" (PDF). Eere.energy.gov. Retrieved 2016-09-27.
- ^ Amsden, D. C., Amsden, and A. A., The KIVA Story: A Paradigm of Technology Transfer, IEEE Transactions on Professional Communication Journal, 36, (4), 190-195, December 1993
- ^ "Archived copy" (PDF). Archived from the original (PDF) on 2011-10-26. Retrieved 2011-10-24.
{{cite web}}
: CS1 maint: archived copy as title (link) - ^ "Computational Engine Modeling". Ornl.gov. Retrieved 2012-12-11.
- ^ "Microsoft Word - cst_paper_revised_FINAL.doc" (PDF). Personal.umich.edu. Retrieved 2016-09-27.
- ^ "Energy Systems | Argonne National Laboratory" (PDF). Transportation.anl.gov. Retrieved 2016-09-27.
- ^ "Automotive HCCI Engine Research" (PDF). Eere.energy.gov. Retrieved 2016-09-27.
- ^ Office of Science (2012-06-21). "1993 Awards | U.S. DOE Office of Science (SC)". Science.energy.gov. Retrieved 2012-12-11.
- ^ a b "ESTSC - Find the latest in U.S. Department of Energy Software". Osti.gov. 1999-11-29. Retrieved 2012-12-11.
- ^ Torres, D.J. and Trujillo, M.F., KIVA-4: An unstructured ALE code for compressible gas flow with sprays, Journal of Computational Physics, 2006, vol. 219, pp. 943-975.
- ^ David Torres, Yuanhong Li and Song-Charng Kong, Partitioning Strategies for Parallel KIVA-4 Engine Simulations, Computers and Fluids, 2009
- ^ "Awards recognize outstanding innovation in Technology Transfer". Archived from the original on October 21, 2011. Retrieved October 24, 2011.
- ^ Los Alamos National Laboratory • Established 1943. "KIVA-4: Los Alamos National Laboratory". Lanl.gov. Retrieved 2012-12-11.
{{cite web}}
: CS1 maint: multiple names: authors list (link) CS1 maint: numeric names: authors list (link) - ^ Los Alamos National Laboratory • Est 1943. "LANL | TT | License | Software | 2010". Lanl.gov. Retrieved 2012-12-11.
{{cite web}}
: CS1 maint: multiple names: authors list (link) CS1 maint: numeric names: authors list (link) - ^ "Archived copy". Archived from the original on 2011-10-31. Retrieved 2011-10-24.
{{cite web}}
: CS1 maint: archived copy as title (link) - ^ "Archived copy". Archived from the original on 2011-10-31. Retrieved 2011-10-24.
{{cite web}}
: CS1 maint: archived copy as title (link) - ^ "Archived copy". Archived from the original on 2011-10-31. Retrieved 2011-10-24.
{{cite web}}
: CS1 maint: archived copy as title (link) - ^ "Advanced Simulation Library". ASL. Retrieved 2016-09-27.
- ^ "Clawpack". Depts.washington.edu. 2013-01-21. Retrieved 2016-09-27.
- ^ andrealani. "Home · andrealani/COOLFluiD Wiki · GitHub". Github.com. Retrieved 2016-09-27.
- ^ [1] Archived 2012-06-08 at the Wayback Machine
- ^ "FEATool Multiphysics - Matlab FEM Finite Element Physics Simulation Toolbox". Featool.com. Retrieved 2016-09-27.
- ^ "Gerris Flow Solver". Gfs.sf.net. Retrieved 2016-09-27.
- ^ "Nektar++ – Spectral/hp Element Framework". Nektar.info. Retrieved 2016-06-14.
- ^ "OpenFVM download". SourceForge.net. Retrieved 2016-09-27.
- ^ "SU2, the open-source CFD code". Su2.stanford.edu. doi:10.1016/j.compfluid.2016.02.003. Retrieved 2016-09-27.
External links
[edit]- Free, personal-use Linux-compatible (Red Hat recommended) KIVA-EXEC download
- KIVA-4 User’s Manual
- KIVA-3V manual (0.4MB, searchable within READER.)
- KIVA-3V manual (1.5MB, searchable within READER.)
- KIVA-3 manual (2.2 MB, searchable within READER.)
- KIVA-II manual (9.0MB, scanned document, not searchable.)
- Los Alamos National Laboratory’s Fluid Dynamics and Solid Mechanics Group
- Los Alamos National Laboratory Technology Transfer Division